package com.box.app.arithmetic

internal data class Indexed<T>(val index: Int, val value: T) {
    inline fun <reified R> to(): Indexed<R> {
        return Indexed(index, value as R)
    }
}